<script setup>
    import {onMounted} from 'vue'
    import {RouterView} from 'vue-router'
    import {useRouterStore} from './store/StoreMenu'
    const routerStore = useRouterStore();
    onMounted(() => {
        routerStore.generatRoutes();
    })
</script>

<template>
  <RouterView></RouterView>
</template>